package com.sync.storage.client;

import com.sync.storage.bean.Base64;
import com.sync.storage.bean.Stu;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("sync-oracle")
public interface StuClient {

    @PostMapping("/stu/insert")
    String inset(@RequestBody Stu stu);

    @RequestMapping("/stu/testBase64")
    String testBase64(@RequestBody Base64 base64);
}
